package com.qf.kady.ssm.service;

import com.qf.kady.ssm.entity.ResultVO;
import com.qf.kady.ssm.pojo.Book;
import com.qf.kady.ssm.pojo.Reader;
import com.qf.kady.ssm.pojo.User;

import java.util.List;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: kady
 * \* Date: 2021/4/21
 * \* Time: 11:50
 * \* 千峰JAVA2101班
 * \* Description: 读者接口
 * \
 */
public interface ReaderService {
    ResultVO login(Reader reader);
    List<Reader> getReaderListByCondition(String keyword);
    Reader getReaderDetailById(Long readerId);
    boolean updateReader(Reader reader);
    boolean addReader(Reader reader);
    ResultVO deleteReader(Long readerId);
    ResultVO changeWD(Long readerId, String oldPasswd, String newPasswd);
}
